#include <stdio.h>
void main()
{
    int a,b,count=0;
    printf("请输入一个数:");
    scanf("%d",&b);
    for(a=1;a<=b;a++)
    {
        if(!(a%5))
            count++;
        if(!(a%25))
            count++;
        if(!(a%125))
            count++;
        if(!(a%625))
            count++;
        
    }
    printf("%d!中有%d个0\n",b,count);
}